package lotteryModel;
//用户信息包括用户id,用户名，密码，账户金额，电话号码等属性
public class Users {
    private String id;
    private String username;
    private String password;
    private int balance = 0;
    String phone;

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public int getBalance() {
        return balance;
    }
    public void setBalance(int balance) {
        this.balance = balance;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public Users(String id, String username, String password, int balance, String phone) {
        super();
        this.id = id;
        this.username = username;
        this.password = password;
        this.balance = balance;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return id+" "+username+" "+password+" "+balance+" "+phone;
    }
    public static void main(String[] args) {
        // TODO Auto-generated method stub

    }
}